-- GENERATED SPELL FOR [Gibblewilt] --


function spell0_8503(pUnit, Event) --@Fireball,n/a--
pUnit:FullCastSpellOnTarget(20793,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8503', 3000, 1)
end

function Sorts_8503(pUnit, Event)
local choix_sorts_8503 = math.random(0, 0)
if choix_sorts_8503 == 0 then
pUnit:RegisterEvent('spell0_8503', 1, 1)
end
end

function mob8503_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8503', math.random(1500, 3000), 1)
end

function mob8503_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8503_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8503_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8503, 1, 'mob8503_Action')
RegisterUnitEvent(8503, 2, 'mob8503_Leave')
RegisterUnitEvent(8503, 3, 'mob8503_Kill')
RegisterUnitEvent(8503, 4, 'mob8503_Die')
